<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<base href="<?php echo base_url(); ?>" />
<link href="<?php echo base_url(); ?>template/admin/default/css/public.css" rel="stylesheet" type="text/css" />
<link href="<?php echo base_url(); ?>template/admin/default/css/editForm.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo base_url(); ?>template/admin/default/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>template/admin/default/js/psufool.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>editor/ckeditor/ckeditor.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>editor/ckfinder/ckfinder.js"></script>
<script type="text/javascript" src="<?php echo base_url(); ?>template/admin/default/js/jquery.colorpicker.js"></script>
<script type="text/javascript" src="<?php echo base_url();?>template/admin/default/js/datepicker2/WdatePicker.js"></script>
<script type="text/javascript">
isTop();
var dg = frameElement.lhgDG;
var getInfo = '<?php echo site_url('admin/getInfo/Index');?>';
/*
 * 获取权限
 * JSON 格式
 */
var getPermission = function(){
	var strPermission = $.ajax({async:false,url:getInfo + "/getPermission"}).responseText;
	strPermission = getJSON(strPermission);
	return strPermission;
}

/*
 * 转换为JSON对象 * 
 */
var getJSON = function(permissionStr){
	try{
		return eval("(" + permissionStr + ")");
	}catch(e){
		return null;
	}
};

var permission = getPermission();
var perm = '<?php echo $perm;?>';
</script>
</head>

<body>